/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.elcom.dailyexpress.requestprocess2;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

/**
 *
 * @author GiangLT
 */
public abstract class RequestProcessor {

    protected HttpServletRequest request;
    protected HttpServletResponse response;
    protected String smscbCenterId;

    public RequestProcessor(HttpServletRequest request, HttpServletResponse response) {
        this.request = request;
        this.response = response;
        this.smscbCenterId = request.getParameter("smscbCenterId");
    }

    public abstract void process() throws Exception;
}
